package com.gxwy.kaihu.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gxwy.kaihu.dao.KaihuRequestDao;
import com.gxwy.kaihu.form.KaihuRequestForm;

@Service
public class KaihuRequestServiceImpl implements KaihuRequestService {

	@Autowired
	private KaihuRequestDao dao;
	
	@Transactional
	public void add(KaihuRequestForm khr) {
		dao.add(khr);
	}

	@Transactional
	public KaihuRequestForm findByNo(String zhdh) {
		return dao.findByNo(zhdh);
	}

}
